package com.mapper;

import org.apache.ibatis.annotations.Param;
import com.pojo.Account;

/**
 * @author acoffee
 * @create 2021-11-16 17:03
 */
public interface AccountMapper {
    void updateBalanceByAccount(@Param("accountno") String accountno, @Param("balance") float balance);
    Account selectAccountByAccountno(@Param("accountno") String accountno);

    void addAcount(Account account);
    void updateAccount(Account account);
}
